home *** CD-ROM | disk | FTP | other *** search
/ Real Girls - Strip Poker / Real Girls Strip POker (Windows 95 CD-ROM).iso / _SETUP.1 / x4.dxr / 00006_frame3.ls < prev    next >
Encoding:
Text File  |  1998-07-30  |  975 b   |  38 lines

  1. on enterFrame
  2.   global prevRollx4, loopCheckEaster
  3.   if loopCheckEaster = 0 then
  4.     puppetSprite(2, 1)
  5.     set the locH of sprite 2 to -9999
  6.     set the locV of sprite 2 to -9999
  7.     set the text of member "words1" to "You've discovered the secret toy combination."
  8.     set the text of member "words2" to "Bonus video!"
  9.     set the member of sprite 2 to member 1
  10.     updateStage()
  11.     set the locH of sprite 2 to 320
  12.     set the locV of sprite 2 to 190
  13.     set the visible of sprite 2 to 1
  14.     if the machineType = 256 then
  15.       set the mrate of sprite(2) to 1
  16.     else
  17.       set the movieRate of sprite 2 to 1
  18.     end if
  19.     set prevRollx4 to 9999
  20.     set loopCheckEaster to 1
  21.   end if
  22. end
  23.  
  24. on exitFrame
  25.   global prevRollx4
  26.   set rollCheckHelp to the rollOver
  27.   if rollCheckHelp <> prevRollx4 then
  28.     case rollCheckHelp of
  29.       3:
  30.         cursor([25, 26])
  31.       otherwise:
  32.         cursor(-1)
  33.     end case
  34.     set prevRollx4 to rollCheckHelp
  35.   end if
  36.   go(the frame)
  37. end
  38.